Skip to content

Untitled #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Untitled #1

wants to merge 7 commits into from

Conversation

lquerel
Copy link

@lquerel lquerel commented Mar 16, 2011

Hi JF,

As mentioned in my email, here are my modifications on AHC. Don't hesitate to send me an email if you want more details.

Laurent

@jfarcand
Copy link
Contributor

Hi Laurent, the only changes I'm not 100% sure is

/* if (byteToRead <= 0) */ { // content-length is not always defined properly by servers

If we remove that condition that will means we buffer the entire body in memory, which can cause OOM. So we need to either make it configurable via a property, or explore a better patch. I will work on that asap.

Thanks!!!!

@jfarcand
Copy link
Contributor

@jfarcand
Copy link
Contributor

Added support for a new system property to encode space using + instead of %20

https://github.com/sonatype/async-http-client/commit/1999114ec8d45dd89adaea6fac69d2ad863c1e35

@jfarcand
Copy link
Contributor

Added support for buffering the response in memory without looking at the content-lenght

https://github.com/sonatype/async-http-client/commit/4bc237f0270c791911215ecbbafb5aee15f97d89

Just use the JDKAsyncHttpProviderConfig element in order to enable it.

@survivant survivant mentioned this pull request May 14, 2012
slandelle pushed a commit that referenced this pull request Jul 2, 2014
Merging from original repo on 3/28
slandelle pushed a commit that referenced this pull request Mar 30, 2015
hysterus1 added a commit to hysterus1/async-http-client that referenced this pull request Mar 17, 2021
cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants